package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 提现
 * @author Administrator
 *
 */
@TableMapperAnnotation(tableName = "t_cash", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class Cash extends Domain{
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	Integer id;
	/**
	 * 所属用户
	 * */
	@FieldMapperAnnotation
	Integer userId;
	/**
	 * 提现金额
	 * */
	@FieldMapperAnnotation
	Double money;
	/**
	 * 每次提现后的余额
	 * */
	@FieldMapperAnnotation
	Double balance;
	/**
	 * 银行类型
	 * */
	@FieldMapperAnnotation
	String bankName;
	/**
	 * 银行卡号
	 * */
	@FieldMapperAnnotation
	String cardNo;
	/**
	 * 1审核 2失败 3成功
	 * */
	@FieldMapperAnnotation
	Integer status;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	Long createTime;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	Long modifyTime;
	/**
	 * 默认 1正常 2禁用
	 * */
	@FieldMapperAnnotation
	Integer state;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public Long getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}


}
